import request from '/@/utils/request';
export function platApi() {
	return {
		index: (params) => {
			return request({
				url: '/group/plat/index',
				method: 'get',
				params
			});
		},
		add: (data) => {
			return request({
				url: '/group/plat/add',
				method: 'post',
				data,
			});
		},
		edit: (data) => {
			return request({
				url: '/group/plat/edit',
				method: 'post',
				data,
			});
		},
		del: (data) => {
			return request({
				url: '/group/plat/del',
				method: 'post',
				data,
			});
		},
		conf: (data,Json) => {
			return request({
				url: '/system/plat/conf?id='+Json.id+'&type='+Json.type,
				method: 'post',
				data,
			});
		},

		
	};
}